/**
 * @(#)GreeDuckt (c) 2014-2018 一抹风光
 *
 * DESC:
 *
 */
package com.pattern.p_01_strategy.demo2;


/**
 * @author fusf
 * @version 1.0  2016/10/23
 */
public class GreeDuck extends Duck {

    public GreeDuck(){
        flyBehavior = new BadFlyBehavior();
    }

    public GreeDuck(int a) {

    }

    @Override
    public void display() {
        System.out.println("绿头鸭");
    }
}
